<%@page import="support.*, java.util.*" %>

<%@ page language="java" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>

<html:html>
	<head>
		<title>Choose Location</title>
	</head>
<body>
<%
Vector<String> location = (Vector<String>) session.getAttribute("location"); 
%>


Name: 
	<bean:write name="applicantFormInsert" property="firstname" scope="session" />
	<bean:write name="applicantFormInsert" property="middle" scope="session" />
	<bean:write name="applicantFormInsert" property="lastname" scope="session" />
<BR>
Country of Citizenship:
	<bean:write name="applicantFormInsert" property="citizenship" scope="session" />
<BR>
Country of Residence:
	<bean:write name="applicantFormInsert" property="residence" scope="session" />
<BR>
Address:
	<bean:write name="applicantFormInsert" property="street"  scope="session" />
	<bean:write name="applicantFormInsert" property="city"    scope="session" />
	<bean:write name="applicantFormInsert" property="state"   scope="session" />
	<bean:write name="applicantFormInsert" property="zipcode" scope="session" />
<BR>

Telephone:
	<bean:write name="applicantFormInsert" property="telephonecode" scope="session" />
	<bean:write name="applicantFormInsert" property="areacode"      scope="session" />
	<bean:write name="applicantFormInsert" property="number"        scope="session" />
<BR>


Choose the location of your university:<p>

<%int temp=0; %>

	<table border="0" cellpadding="0" cellspacing="0" width="760" align="center">
	<tr>
		<%temp=0; %>
		<%for(int i=0;i<location.size();++i) 
		{
			temp++;%> 
	<td>
		<html:link action="/location">
			<html:param name="location" value="<%=location.get(i)%>"/>
			 	<%=location.get(i)%> 
			
			</html:link>
		
	</td>
	<%if (temp%3==0){%>
	</tr>
<%} %>
<%} %>
	</table>
</body>
</html:html>